package com.rgp.apidriver.feign;

import com.rgp.internalcommon.dto.ResponseResult;
import com.rgp.internalcommon.response.NumberCodeResponse;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @author nhp
 * @version 1.0
 * @description TODO
 * @date 2024-04-17 18:30
 */
@FeignClient("service-verificationcode")
public interface ServiceVerificationcodeClient {

    @GetMapping("/numberCode/{size}")
    public ResponseResult<NumberCodeResponse> generateNumberCode(@PathVariable("size") Integer size);
}